/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package hk.ces.oxfam.patch;

import hk.ces.oxfam.patch.config.Config;
import hk.ces.oxfam.patch.encryPayment.EncryPaymentInfo;

/**
 *
 * @author ReutyCheng
 */
public class MainConsole
{
  public static void main(String[] args)
  {
    new MainConsole();
  }

  public MainConsole()
  {
    Config.setCurrentConfigServer(Config.ConfigServer.LOCAL_81);

//    DBPatchEngine engine = new DBPatchEngine();
//    engine.add(new DataDictPatch());
////    engine.add(new PersonInfoTypeToDonorPatch());
////    engine.add(new PersonInfoTypeToWalkerPatch());
//    engine.runAll();

    TransactionEngine engine = new TransactionEngine();
//    engine.add(new CheckWalker0001CPatch());
//    engine.add(new For20110427ProductionPatch());
//    engine.add(new UnverifiedPaymentPatch());
//    engine.add(new OnlineBatchStatusPatch());
//    engine.add(new AssignmentPatch());
//    engine.add(new Insert1000OnlineDonationPatch());
    engine.add(new EncryPaymentInfo());
//    engine.add(new PersonInfoTypeToDonorPatch());
//    engine.add(new PersonInfoTypeToWalkerPatch());
//    engine.add(new EReceiptPrintCountPatch());
//    engine.add(new DuplicateBatchNoPatch());
//    engine.add(new FindBatchPatch("B201101050137"));
//    engine.add(new PersonProfilePatch());
//    engine.add(new RebuildRelationshipBetweenPersonAndProfilesPatch());
//    engine.add(new FixReceiptNoPatch());
//    engine.add(new DecryPaymentInfo());
    engine.runAll();
  }
}
